package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.ter.TerMerchantReport;
import com.framework.entity.tran.TranTerBenefitInfo;
import com.framework.entity.tran.TranTransactionInfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 分润明细-机器相关
 * @author wq
 */
public interface TranTerBenefitInfoService extends IService<TranTerBenefitInfo> {



    /**
     * 新增记录
     * @param terBenefitId
     * @param info
     * @param topOwnBenefit
     */
    void addNewRecord(String terBenefitId, TranTransactionInfo info, BigDecimal topOwnBenefit);


    TranTerBenefitInfo addTranTerBenefitInfo(BigDecimal benefitAmount, TerMerchantReport terMerchantReport, String snBenefitId, TranTransactionInfo tranTransactionInfo);
}

